﻿using SmartCity.Shared;
using Volo.Abp.Domain.Entities;

namespace CommonManagement
{
    /// <summary>
    /// 广告轮播类
    /// </summary>
    public class Rotation : BasicAggregateRoot<int>
    {
        /// <summary>排序</summary>
        public int Sort { get; set; }

        /// <summary>广告标题</summary>
        public string AdvTitle { get; set; }

        /// <summary>广告图片</summary>
        public string AdvImg { get; set; }

        /// <summary>业务模块</summary>
        public string ServModule { get; set; }

        /// <summary>跳转详情Id</summary>
        public int TargetId { get; set; }

        /// <summary>广告类型</summary>
        public AdvType Type { get; set; }

        private Rotation() { }
    }
}